import { ReactNode, useEffect, useRef, useState } from 'react';
import styles from './home.module.less';

import { observer } from "mobx-react-lite";


interface Iprops {
    children?: ReactNode
}

// 组件
const Home = observer((props: Iprops) => {

    const dom = useRef<HTMLDivElement | null>(null);
    const [data, setData] = useState({});

    useEffect(() => {
    }, []);

    return (
        <div ref={dom} className={styles.name} >
            后台主页
        </div>
    );
});

export default Home;